package hibernate;

import java.util.Date;

/**
 * VisitRequest entity. @author MyEclipse Persistence Tools
 */

public class VisitRequest implements java.io.Serializable {

	// Fields

	private String visitId;
	private UserInfo userInfo;
	private HouseInfo houseInfo;
	private String visitState;
	private Date visitDate;

	// Constructors

	/** default constructor */
	public VisitRequest() {
	}

	/** minimal constructor */
	public VisitRequest(String visitId, String visitState, Date visitDate) {
		this.visitId = visitId;
		this.visitState = visitState;
		this.visitDate = visitDate;
	}

	/** full constructor */
	public VisitRequest(String visitId, UserInfo userInfo, HouseInfo houseInfo,
			String visitState, Date visitDate) {
		this.visitId = visitId;
		this.userInfo = userInfo;
		this.houseInfo = houseInfo;
		this.visitState = visitState;
		this.visitDate = visitDate;
	}

	// Property accessors

	public String getVisitId() {
		return this.visitId;
	}

	public void setVisitId(String visitId) {
		this.visitId = visitId;
	}

	public UserInfo getUserInfo() {
		return this.userInfo;
	}

	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}

	public HouseInfo getHouseInfo() {
		return this.houseInfo;
	}

	public void setHouseInfo(HouseInfo houseInfo) {
		this.houseInfo = houseInfo;
	}

	public String getVisitState() {
		return this.visitState;
	}

	public void setVisitState(String visitState) {
		this.visitState = visitState;
	}

	public Date getVisitDate() {
		return this.visitDate;
	}

	public void setVisitDate(Date visitDate) {
		this.visitDate = visitDate;
	}

}